package com.game.util;

public enum ResultEnum {
	
	SUCCESS("200","成功"),
	SERVICEERROR("501","数据库错误"),
	DBERROR("500","数据库错误"),
	PARARMERROR("403","参数错误"),
	REDPACKETSHASGRAB("259","已经参与抢该红包"),
	NOTEXSISTDATA("404","数据不存在");
	private String code;
	private String message;
	
	private ResultEnum(String code,String message) {
		this.code = code;
		this.message =message;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
}
